import Mock from "mockjs"

Mock.mock("/api/list", {
    "list|5": [
        {
            id: "@id",
            title: "@ctitle(3,5)",
            conter: "@cparagraph(5,7)",
            author: "@cname",
            img: "@image(100x100,@color)",
            "tag|2": ["@cword(3,5)"],
            "read|1-10000": 0,
            "like|1-10000": 0,
            "comments": 0,
            isComments: false,
            commentsList: [],
            wrod: "@cword(300,500)"
        }
    ]
})